home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / EDITVIEW.RC < prev    next >
Text File  |  1997-05-06  |  2KB  |  62 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1993, 1996 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.3  $
  6. //
  7. // Menu and accelerators for use with TEditView
  8. //----------------------------------------------------------------------------
  9.  
  10. #include <owl/editsear.rh>
  11. #include <owl/editview.rh>
  12.  
  13. #if defined(RC_INVOKED)
  14.  
  15. #define NO_IDM_EDITSEARCH
  16. #define NO_IDA_EDITSEARCH
  17. #include <owl/editsear.rc>
  18.  
  19. #if !defined(NO_IDM_EDITVIEW) && !defined(__IDM_EDITVIEW)
  20. #define __IDM_EDITVIEW
  21. IDM_EDITVIEW MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  22. {
  23.   POPUP "&Edit"
  24.   {
  25.     MenuItem  "&Undo\aCtrl+Z",        CM_EDITUNDO
  26.     MenuItem  SEPARATOR
  27.     MenuItem  "Cu&t\aCtrl+X",         CM_EDITCUT
  28.     MenuItem  "&Copy\aCtrl+C",        CM_EDITCOPY
  29.     MenuItem  "&Paste\aCtrl+V",       CM_EDITPASTE
  30.     MenuItem  "&Delete\aDel",         CM_EDITDELETE
  31.     MenuItem  "C&lear All\aCtrl+Del", CM_EDITCLEAR
  32.   }
  33.   POPUP "&Search"
  34.   {
  35.     MenuItem  "&Find...",    CM_EDITFIND
  36.     MenuItem  "&Replace...", CM_EDITREPLACE
  37.     MenuItem  "&Next\aF3",   CM_EDITFINDNEXT
  38.   }
  39.   POPUP "&Help"
  40.   {
  41.     MenuItem  "OWL EditView", 0, INACTIVE
  42.   }
  43. }
  44. #endif
  45. #undef NO_IDM_EDITVIEW
  46.  
  47. #if !defined(NO_IDA_EDITVIEW) && !defined(__IDA_EDITVIEW)
  48. #define __IDA_EDITVIEW
  49. IDA_EDITVIEW ACCELERATORS
  50. {
  51.   "^Z",      CM_EDITUNDO
  52.   "^X",      CM_EDITCUT
  53.   "^C",      CM_EDITCOPY
  54.   "^V",      CM_EDITPASTE
  55.   VK_DELETE, CM_EDITCLEAR, VIRTKEY, CONTROL
  56.   VK_F3,     CM_EDITFINDNEXT, VIRTKEY
  57. }
  58. #endif
  59. #undef NO_IDA_EDITVIEW
  60.  
  61. #endif  // defined(RC_INVOKED)
  62.